package com.fanyouzhao.ehome2.admin.mapper;


import com.fanyouzhao.ehome2.core.pojo.Admin;
import tk.mybatis.mapper.common.Mapper;

/**
 * @Author: fanyouzhao
 * @Date: 14:48 2021/5/18
 */
public interface AdminMapper extends Mapper<Admin> {
/*    Admin selectById(Integer id);

    Integer deleteById(Integer id);

    Integer insert(Admin admin);

    Integer update(Admin admin);

    List<Admin> selectByPage(Integer offset, Integer size);

    List<Admin> selectLikeName(String name);

//    public Admin selectByIdAndPwd(Integer id,String pwd);
    Admin selectByIdAndPwd(Integer id,String pwd);

    List<Admin> selectLikeNameByPage(String name,Integer offset,Integer size);*/
}
